package page;

/**
 * Created by as on 2016/11/16.
 */
public class ComBook extends Book {
    Boolean hasDisk;
    void show(){
/*        System.out.println("书名：" + name);
        System.out.println("定价：" + price);
        System.out.println("作者：" + author);*/
        super.show();
        System.out.println("软件附件光盘? " + hasDisk);
        System.out.println("售价：" + sellPrice(0.8));
        System.out.println("- - - - - - - - - - - - - - -");
    }
}
